Dynomotion

Group: DynoMotion Message: 1465 From: quelisto Date: 7/8/2011
Subject: Trouble with firing off FETs (bits 152 to 159) on Kanalog board
Hi Tom, I'm wondering if there is something I'm missing in my code that is preventing these FETS from actually firing and sinking current.

I've used the KanalogPresent() function to make sure the program "Sees" the Kanalog baord, and sure enough it does (returns a 1).

According to the Digital I/O window, the FETS are being fired, but no current flows.

What is weird is that if I stop execution, exit out of Kmotion, and come back in and ONLY use the Digital I/O window to assert the bits, then everything works.

Waht could be he problem? Should I not be setting the bit direction? Is there some other master enable bit that needs to be set or cleared?

These FETs are only turning on and off solid state relay, so EMI/inductive kick is NOT an issue.

Thanks.
Group: DynoMotion Message: 1467 From: Tom Kerekes Date: 7/8/2011
Subject: Re: Trouble with firing off FETs (bits 152 to 159) on Kanalog board
Hi Quelisto,
 
A common problem is to make use of the JP7 for something other than Kanalog.  The communication to Kanalog takes place through JP7.  Configuring IO bits or setting bits on JP7 will likely cause the Kanalog communication to fail.  If the communication to Kanalog fails, the charge pump on Kanalog will stop toggling and the LED on Kanalog with turn off.  Configuring an axis channel to use Step/Dir generators 0-3 which have output pins on JP7 will also cause the Kanalog communication to fail.  Could this be your problem?  You do not need to set the I/O directions on for Kanalog I/O bits as they are all pre-defined and fixed as either inputs or outputs.
 
Regards
TK 

--- On Fri, 7/8/11, quelisto <quelisto@...> wrote:

From: quelisto <quelisto@...>
Subject: [DynoMotion] Trouble with firing off FETs (bits 152 to 159) on Kanalog board
To: DynoMotion@yahoogroups.com
Date: Friday, July 8, 2011, 12:21 PM

 
Hi Tom, I'm wondering if there is something I'm missing in my code that is preventing these FETS from actually firing and sinking current.

I've used the KanalogPresent() function to make sure the program "Sees" the Kanalog baord, and sure enough it does (returns a 1).

According to the Digital I/O window, the FETS are being fired, but no current flows.

What is weird is that if I stop execution, exit out of Kmotion, and come back in and ONLY use the Digital I/O window to assert the bits, then everything works.

Waht could be he problem? Should I not be setting the bit direction? Is there some other master enable bit that needs to be set or cleared?

These FETs are only turning on and off solid state relay, so EMI/inductive kick is NOT an issue.

Thanks.

Group: DynoMotion Message: 1468 From: quelisto Date: 7/8/2011
Subject: Re: Trouble with firing off FETs (bits 152 to 159) on Kanalog board
Yep, I was using axes 0-3 for motor control. That was the problem! Thanks!

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Quelisto,
>  
> A common problem is to make use of the JP7 for something other than Kanalog.  The communication to Kanalog takes place through JP7.  Configuring IO bits or setting bits on JP7 will likely cause the Kanalog communication to fail.  If the communication to Kanalog fails, the charge pump on Kanalog will stop toggling and the LED on Kanalog with turn off.  Configuring an axis channel to use Step/Dir generators 0-3 which have output pins on JP7 will also cause the Kanalog communication to fail.  Could this be your problem?  You do not need to set the I/O directions on for Kanalog I/O bits as they are all pre-defined and fixed as either inputs or outputs.
>  
> Regards
> TK 
>
> --- On Fri, 7/8/11, quelisto <quelisto@...> wrote:
>
>
> From: quelisto <quelisto@...>
> Subject: [DynoMotion] Trouble with firing off FETs (bits 152 to 159) on Kanalog board
> To: DynoMotion@yahoogroups.com
> Date: Friday, July 8, 2011, 12:21 PM
>
>
>  
>
>
>
> Hi Tom, I'm wondering if there is something I'm missing in my code that is preventing these FETS from actually firing and sinking current.
>
> I've used the KanalogPresent() function to make sure the program "Sees" the Kanalog baord, and sure enough it does (returns a 1).
>
> According to the Digital I/O window, the FETS are being fired, but no current flows.
>
> What is weird is that if I stop execution, exit out of Kmotion, and come back in and ONLY use the Digital I/O window to assert the bits, then everything works.
>
> Waht could be he problem? Should I not be setting the bit direction? Is there some other master enable bit that needs to be set or cleared?
>
> These FETs are only turning on and off solid state relay, so EMI/inductive kick is NOT an issue.
>
> Thanks.
>